package com.smart.mac.service;

import com.smart.mac.model.dto.FlowTaskDTO;

/**
 * FlowInstanceService
 *
 * @Author mac
 */
public interface FlowInstanceService {
    /**
    * 结束流程实例
    * @param: [flowTaskDTO]
    * @return: void
    * @author mac
    */
    void stopProcessInstance(FlowTaskDTO flowTaskDTO);

    /**
    * 激活或挂起流程实例
    * @param: [state, instanceId]
    * @return: void
    * @author mac
    */
    void updateState(Integer state, String instanceId);

}
